package com.guinea.system.service;

import java.io.Serializable;
import com.guinea.core.orm.HibernateDao;
import com.guinea.core.service.EntityService;
import com.guinea.system.dao.ResourceDao;
import com.guinea.system.entity.Resource;

public class ResourceService extends EntityService {
	private ResourceDao resourceDao;

	public Resource getResource(Serializable id) {
		return (Resource) getResourceDao().get(id);
	}

	public HibernateDao getEntityDao() {
		return resourceDao;
	}

	public ResourceDao getResourceDao() {
		return resourceDao;
	}

	public void setResourceDao(ResourceDao resourceDao) {
		this.resourceDao = resourceDao;
	}
	
}
